import axios from '@/axios';

// 预约列表
export function reservationList(data) {
    return axios({
        url: '/reservation/lists',
        method: 'post',
        data
    })
}

// 创建预约
export function reservationCreate(data) {
    return axios({
        url: '/reservation/create',
        method: 'post',
        data
    })
}

// 修改状态
export function changeStatus(data) {
    return axios({
        url: '/reservation/change-status',
        method: 'post',
        data
    })
}

// 删除
export function reservationDel(data) {
    return axios({
        url: '/reservation/del',
        method: 'post',
        data
    })
}